Learn R Programming

pracma (version 1.5.5)

clear, who(s), ver: Clear function (Matlab style)

Description

List or remove items from workspace, or display system information.

Usage

clear(lst)
ver()

who() whos()

Arguments

lst
Character vector of names of variables in the global environment.

Value

  • Invisibly NULL.

Details

Remove these or all items from the workspace, i.e. the global environment, and freeing up system memory.

who() lists all items on the workspace. whos() lists all items and their class and size.

ver() displays version and license information for R and all the loaded packages.

See Also

ls, rm, sessionInfo

Examples

Run this code
# clear()  # DON'T
# who()
# whos()
# ver()

Run the code above in your browser using DataLab